﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class Message : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lblname.Text = Convert.ToString(Session["Name"]);
            lblage.Text = Convert.ToString(Session["Age"]);
            lblphonenumber.Text = Convert.ToString(Session["Phone Number"]);
            lblcpno.Text = Convert.ToString(Session["Cellphone Number"]);
            lbladdress.Text = Convert.ToString(Session["Address"]);
            lblcivilstatus.Text = Convert.ToString(Session["Civil Status"]);
            lblgender.Text = Convert.ToString(Session["Gender"]);
            lbleadd.Text = Convert.ToString(Session["E mail Address"]);
            lblbirthday.Text = Convert.ToString(Session["Birthday"]);
            lblreligion.Text = Convert.ToString(Session["Religion"]);
            lblelementary.Text = Convert.ToString(Session["Elementary"]);
            lblyearelementary.Text = Convert.ToString(Session["Year Graduated"]);
            lblhs.Text = Convert.ToString(Session["High School"]);
            lblyearhs.Text = Convert.ToString(Session["Year Graduated"]);
            lblcollege.Text = Convert.ToString(Session["College"]);
            lblyearcollege.Text = Convert.ToString(Session["Year Graduated"]);
            lblfathersname.Text = Convert.ToString(Session["Father's Name"]);
            lblfathersoccupation.Text = Convert.ToString(Session["Father's Occupation"]);
            lblmothersname.Text = Convert.ToString(Session["Mother's Name"]);
            lblmothersoccupation.Text = Convert.ToString(Session["Mother's Occupation"]);
           

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Response.Redirect("Default.aspx");
        }
    }
}